assume cs:code
code segment
start:mov ax,2000h
	mov ds,ax
	mov bx,0

s:	mov cx,0
	mov cl,[bx]
	inc bx
	jcxz ok
	
	jmp short s 
ok:	mov dx,bx
	mov ax,4c00h
	int 21h
code ends
end start